home *** CD-ROM | disk | FTP | other *** search
- echo off
- if "%1" == "" goto nodrive
- free %1: 1300000
- if errorlevel 1 goto nofree
- cls
- echo
- echo Harvard Graphics 2.3 Demo Disk Install
- echo ----------------------------------------
- echo
- echo Make sure that your Harvard Graphics
- echo Demo Disk Disk is in disk drive A: or B:
- echo ----------------------------------------
- echo
- echo This batch file will create
- echo a directory called %1:\HGDEMO.
- echo
- echo 1.3 Megabytes of free disk space
- echo on your %1: drive is required for
- echo the installation process. If you
- echo wish to quit at this time, please
- echo press [Ctrl] [C].
- echo
- pause
- if not exist hvg0808.exe goto filefail
- if not exist hgdemo.bat goto filefail
- md %1:\HGDEMO > nul
- cd %1:\HGDEMO > nul
- cls
- echo
- echo
- echo Harvard Graphics 2.3 Demo Disk Install
- echo --------------------------------------
- echo
- echo Now copying demo files to your
- echo %1: hard disk drive partition...
- echo
- copy hvg0808.exe %1: >nul
- copy HGDEMO.BAT %1: >nul
- %1:\ rem Change to user designated hard dirve partition
- cls
- echo
- echo
- echo Harvard Graphics 2.3 Demo Disk Install
- echo --------------------------------------
- echo You have successfully installed the
- echo Harvard Graphics 2.3 Demo.
- echo
- echo To start the demo, type:
- echo
- echo HGDEMO
- echo
- echo and press the Enter key.
- goto exit
- :nofree
- cls
- echo
- echo
- echo Harvard Graphics 2.3 Demo Disk Install
- echo --------------------------------------
- echo We are sorry, but the hard disk drive
- echo partition you selected (%1:) does not
- echo have enough free space to copy the
- echo Harvard Graphics Demo files.
- echo
- echo Please remove any unnecessary files
- echo and directories to create at least 1.3MB
- echo of free disk space, then repeat the
- echo installation. Or choose another partition
- echo with sufficient space.
- goto exit
- :nodrive
- cls
- echo
- echo
- echo Harvard Graphics 2.3 Demo Disk Install
- echo --------------------------------------
- echo
- echo To install on your hard disk
- echo drive, type:
- echo
- echo "A:>INSTALL X"
- echo
- echo (X is the hard disk drive
- echo partition you designate)
- echo
- echo For example:
- echo
- echo "A:>INSTALL C" installs the
- echo demo on the "C:" partition of
- echo your hard disk drive
- echo
- goto exit
- :filefail
- cls
- echo
- echo Harvard Graphics 2.3 Demo Disk Install
- echo --------------------------------------
- echo
- echo Two important files are missing from
- echo your Harvard Graphics Demo Disk:
- echo
- echo HVG0808.EXE
- echo HGDEMO.BAT
- echo
- echo The demo installation cannot continue
- echo with these files missing!
- echo
- echo Please check your disk to see if the
- echo files have been renamed or ask your
- echo distribution source for a new demo disk.
- echo
- goto exit
-
- :exit
- exit
-
-
-
-
-
-
-